<style>
    /*.layui-body{background:deeppink;}*/
    /*.layui-footer{background:deepskyblue!important;background-color:rgba(0,0,0,0.9)}*/
</style>

<div>
    <div class="count_down">
        <div class="count_down_title">The Wedding Day</div>
        <div class="count_down_time">

        </div>
    </div>
</div>


<span class="timespan"></span>

<script>
    var starttime = new Date("2019/1/29");
    setInterval(function () {
        var nowtime = new Date();
        var time = starttime - nowtime;
        var day = parseInt(time / 1000 / 60 / 60 / 24);
        var hour = parseInt(time / 1000 / 60 / 60 % 24);
        var minute = parseInt(time / 1000 / 60 % 60);
        var seconds = parseInt(time / 1000 % 60);
        $('.timespan').html(day + "天" + hour + "小时" + minute + "分钟" + seconds + "秒");
    }, 1000);

    $('.count_down_time').html(dink.utd(dink.now()));
</script>